<!DOCTYPE html>
<div id="target">This test passes if it does not crash.</div>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>
var test = async_test("Test if it does not crash when element is animated with fontSize and fontWeight");
target.animate([
  {fontSize: 'large', fontWeight: 'normal'},
  {fontSize: 'small', fontWeight: 'bold'},
], 1);
requestAnimationFrame(test.step_func_done(() => {}));
</script>
